package zisu.netty.practice.RPC.demo.invoke;

import zisu.netty.practice.RPC.demo.User;

/**
 * @Desc: ""
 * @Author: caixiang
 * @DATE: 2021/1/27 14:05
 */
public class HelloServiceImpl implements HelloService{
    @Override
    public String hello(String name) {
        return "hello : "+name;
    }

    @Override
    public String hello(User user) {
        return "hello : "+ user.getName();
    }
}